package cn.signalpha.modules.base.entity;

import cn.signalpha.core.mp.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 实体类
 *
 * @author signalpha
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("base_nav")
@ApiModel(value = "Nav对象", description = "导航栏")
public class Nav extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "标题")
    private String name;

    @ApiModelProperty(value = "封面图")
    private String img;

    @ApiModelProperty(value = "跳转目标")
    private String target;

    @ApiModelProperty(value = "跳转类型")
    private Integer targetType;

    @ApiModelProperty(value = "排序值")
    private Integer sort;

}
